package com.xydtech.ecard.ecard.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 电子名片商户信息对象 ecard_merchant_info
 *
 * @author yjs
 * @date 2023-07-25
 */
public class EcardApiMerchantInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 门头名称 */
    @Excel(name = "门头名称")
    private String handName;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private Integer industry;


    /** 地图地址 */
    @Excel(name = "地图地址")
    private String mapAddress;

    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinate;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 门头图片 */
    @Excel(name = "门头图片")
    private String headPic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称")
    private String licenseName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 经营者 */
    @Excel(name = "经营者")
    private String legalPersonName;

    /** 成立日期 */
    @Excel(name = "成立日期")
    private String estiblishTime;

    /** 资金数额 */
    @Excel(name = "资金数额")
    private String regCapital;

    /** 经营状态 */
    @Excel(name = "经营状态")
    private String regStatus;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phoneNumber;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String licensePic;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", readConverterExp = "多=条记录逗号隔开")
    private String marketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签", readConverterExp = "多=条记录逗号隔开")
    private String businessLabel;

    /** 商户标签（多条记录逗号隔开） */
    @Excel(name = "商户标签", readConverterExp = "多=条记录逗号隔开")
    private String merchantLabel;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long creatorId;

    /** 状态 */
    @Excel(name = "状态0停用,1启用")
    private Integer state;

    @ApiModelProperty(notes = "创建人机构id")
    private Long deptId;


    /** 联系人 */
    private String contactsName;
    /** 联系人电话 */
    private String contactsPhone;
    /** 联系人职务 */
    private String duties;
    /** 最新拜访时间 */
    private Date lastVisitDate;
    /** 客户经理名称 */
    private String userName;
    /** 机构名称 */
    private String deptName;
    /** 所属行业名称 */
    private String industryName;
    /** 拜访次数 */
    private String visitNumber;
    /** 是否自己，1全部，2自己 */
    private String oneself;
    /** 时间排序 */
    private String sortTime;
    /** 最大拜访时间 */
    private String maxbftime;
    /** 最大成员建档时间 */
    private String maxcytime;

    /** 授信卡路径 */
    private String preCreditUrl;

    /** 授信卡状态 */
    private String preCreditSts;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /**
     * 部门标识（优化查询速度 1：法人行，查询所有 2：支行，没有下级分理处 3：支行，有下级分理处）
     */
    private String deptFlag;

    /**
     * 导入任务id,如果是导入任务跳转过来则有值，直接新增为null
     */
    private Long taskId;

    /** 成员信息 */
    private List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHandName(String handName)
    {
        this.handName = handName;
    }

    public String getHandName()
    {
        return handName;
    }
    public void setIndustry(Integer industry)
    {
        this.industry = industry;
    }

    public Integer getIndustry()
    {
        return industry;
    }
    public void setMapAddress(String mapAddress)
    {
        this.mapAddress = mapAddress;
    }

    public String getMapAddress()
    {
        return mapAddress;
    }
    public void setCoordinate(String coordinate)
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate()
    {
        return coordinate;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setHeadPic(String headPic)
    {
        this.headPic = headPic;
    }

    public String getHeadPic()
    {
        return headPic;
    }
    public void setLicenseName(String licenseName)
    {
        this.licenseName = licenseName;
    }

    public String getLicenseName()
    {
        return licenseName;
    }
    public void setLicensePic(String licensePic)
    {
        this.licensePic = licensePic;
    }

    public String getLicensePic()
    {
        return licensePic;
    }
    public void setMarketingFocus(String marketingFocus)
    {
        this.marketingFocus = marketingFocus;
    }

    public String getMarketingFocus()
    {
        return marketingFocus;
    }
    public void setBusinessLabel(String businessLabel)
    {
        this.businessLabel = businessLabel;
    }

    public String getBusinessLabel()
    {
        return businessLabel;
    }
    public void setMerchantLabel(String merchantLabel)
    {
        this.merchantLabel = merchantLabel;
    }

    public String getMerchantLabel()
    {
        return merchantLabel;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getDuties() {
        return duties;
    }

    public void setDuties(String duties) {
        this.duties = duties;
    }

    public Date getLastVisitDate() {
        return lastVisitDate;
    }

    public void setLastVisitDate(Date lastVisitDate) {
        this.lastVisitDate = lastVisitDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getVisitNumber() {
        return visitNumber;
    }

    public void setVisitNumber(String visitNumber) {
        this.visitNumber = visitNumber;
    }

    public String getOneself() {
        return oneself;
    }

    public void setOneself(String oneself) {
        this.oneself = oneself;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public String getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(String maxbftime) {
        this.maxbftime = maxbftime;
    }

    public String getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(String maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getPreCreditUrl() {
        return preCreditUrl;
    }

    public void setPreCreditUrl(String preCreditUrl) {
        this.preCreditUrl = preCreditUrl;
    }

    public String getPreCreditSts() {
        return preCreditSts;
    }

    public void setPreCreditSts(String preCreditSts) {
        this.preCreditSts = preCreditSts;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getLegalPersonName() {
        return legalPersonName;
    }

    public void setLegalPersonName(String legalPersonName) {
        this.legalPersonName = legalPersonName;
    }

    public String getEstiblishTime() {
        return estiblishTime;
    }

    public void setEstiblishTime(String estiblishTime) {
        this.estiblishTime = estiblishTime;
    }

    public String getRegCapital() {
        return regCapital;
    }

    public void setRegCapital(String regCapital) {
        this.regCapital = regCapital;
    }

    public String getRegStatus() {
        return regStatus;
    }

    public void setRegStatus(String regStatus) {
        this.regStatus = regStatus;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getDeptFlag() {
        return deptFlag;
    }

    public void setDeptFlag(String deptFlag) {
        this.deptFlag = deptFlag;
    }

    public List<EcardApiMerchantPartInfo> getEcardApiMerchantPartInfos() {
        return ecardApiMerchantPartInfos;
    }

    public void setEcardApiMerchantPartInfos(List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos) {
        this.ecardApiMerchantPartInfos = ecardApiMerchantPartInfos;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "EcardMerchantInfo{" +
                "id=" + id +
                ", handName='" + handName + '\'' +
                ", industry=" + industry +
                ", mapAddress='" + mapAddress + '\'' +
                ", coordinate='" + coordinate + '\'' +
                ", address='" + address + '\'' +
                ", headPic='" + headPic + '\'' +
                ", licenseName='" + licenseName + '\'' +
                ", licensePic='" + licensePic + '\'' +
                ", marketingFocus='" + marketingFocus + '\'' +
                ", businessLabel='" + businessLabel + '\'' +
                ", merchantLabel='" + merchantLabel + '\'' +
                ", creationTime=" + creationTime +
                ", creatorId=" + creatorId +
                ", state=" + state +
                ", deptId=" + deptId +
                ", contactsName='" + contactsName + '\'' +
                ", contactsPhone='" + contactsPhone + '\'' +
                ", duties='" + duties + '\'' +
                ", lastVisitDate='" + lastVisitDate + '\'' +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", industryName='" + industryName + '\'' +
                ", visitNumber='" + visitNumber + '\'' +
                ", oneself='" + oneself + '\'' +
                ", sortTime='" + sortTime + '\'' +
                ", maxbftime='" + maxbftime + '\'' +
                ", maxcytime='" + maxcytime + '\'' +
                ", dictDeptId='" + dictDeptId + '\'' +
                ", creditCode='" + creditCode + '\'' +
                ", legalPersonName='" + legalPersonName + '\'' +
                ", estiblishTime='" + estiblishTime + '\'' +
                ", regCapital='" + regCapital + '\'' +
                ", regStatus='" + regStatus + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", ecardApiMerchantPartInfos='" + ecardApiMerchantPartInfos + '\'' +
                '}';
    }
}
